home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / rdate / INSTALL < prev    next >
Encoding:
Text File  |  1993-01-02  |  963 b   |  38 lines

  1. Software Requirements
  2. ---------------------
  3.  
  4. - C compiler
  5.  
  6. - support for sockets
  7.  
  8. - at least one machine providing timed service
  9.  
  10. Installation
  11. ------------
  12.  
  13. 1) Unpack the package in an appropriate directory
  14.  
  15. 2) Edit the Makefile to specify the desired configuration items
  16.  
  17. 3) Issue the command 'make' to build the binary
  18.  
  19. 4) Test the program with the following commands (not run as root):
  20.  
  21.    ./rdate -d server
  22.    ./rdate server
  23.  
  24.    where server is a machine providing timed service.  The first command
  25.    should display the server's time.  The second should fail with an
  26.    error message: "couldn't set time of day: Not owner".
  27.  
  28. 5) Login as root
  29.  
  30. 6) Repeat the second command from step 4 if you wish to actually set
  31.    the local machine's date
  32.  
  33. 7) Type 'make install' to copy the binary and the man page to the
  34.    directories specified in the Makefile.
  35.  
  36. 8) Modify your system files (e.g., /etc/rc.local or root's crontab)
  37.    as appropriate for your use of rdate
  38.